﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common.Damin
{
    /// <summary>
    /// 权限类
    /// </summary>
    public class Perms : BaseField
    {
        /// <summary>
        /// 权限编号
        /// </summary>
        [Key]
        public int pId { get; set; }
        /// <summary>
        /// 权限名称
        /// </summary>
        public string? pName { get; set; }

        /// <summary>
        /// 上级编号
        /// </summary>
        public int? psuperior { get; set; }
        /// <summary>
        /// 权限URL
        /// </summary>
        public string? prouterpath { get; set; }
        /// <summary>
        /// 权限描述
        /// </summary>
        public string? proutername { get; set; } 
        /// <summary>
        /// 权限描述
        /// </summary>
        public string? proutercomponent { get; set; } 
    }
}
